package com.daodao.daodaoschedule.infrastructure.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author mal
 * @date 2022-09-03 11:06
 */
@Accessors(chain = true)
@Data
@TableName("wechat_member")
public class WechatMemberPO implements Serializable {

    private Long id;

    private String nickName;

    private String openId;

    private Long accountId;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)

    private String state;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime updateTime;


}
